/*
 * @(#)ShopMqLogService.java 2011-11-21
 *
 * Copyright 2011 北龙中网（北京）科技有限责任公司. All rights reserved.
 */
package cn.shangjia.shop.service;

import cn.shangjia.common.mq.exec.message.KnetMessage;

/**
 * 类说明.
 *
 * @author <a href="mailto:jinzhongze@knet.cn">jinzhongze</a>
 * @version 1.0, 2011-11-21 13:33:26
 * @since 1.0
 */
public interface MqLogService {
	
	/**
	 * 添加一条消息日志
	 * @param message
	 * @author <a href="mailto:jinzhongze@knet.cn">jinzhongze</a>
	 */
	void addLog(KnetMessage message, String errorMessage);
	
	/**
	 *  还原一条消息
	 * 
	 * @param messageId
	 * @return
	 * @author <a href="mailto:jinzhongze@knet.cn">jinzhongze</a>
	 */
	KnetMessage getMessage(String messageId);
}
